//
//  IGiGallerySearchUserApi.m
//  jingdongfang
//
//  Created by BOE on 2017/9/11.
//  Copyright © 2017年 LJL. All rights reserved.
//

#import "IGiGallerySearchUserApi.h"

@interface IGiGallerySearchUserApi()

@property (nonatomic, copy) NSString *phone;
    
@end

@implementation IGiGallerySearchUserApi

- (id)initWithPhone:(NSString *)phone {
    self = [super init];
    if (self) {
        _phone = phone;
    }
    return self;
}
    
- (YTKRequestMethod)requestMethod {
    return YTKRequestMethodPOST;
}
    
- (NSString *)requestUrl {
    return @"equ/getUserByPhone";
}
    
- (id)requestArgument {
    return @{
             @"phone": _phone
             };
}
    
- (BOOL)isNeedHub {
    return NO;
}

@end

@implementation IGiGallerySearchUserModel : IGBaseModel

+ (BOOL)propertyIsOptional:(NSString *)propertyName {
    return YES;
}
    
@end

@implementation IGiGallerySearchUserResp : IGBaseResp

@end
